package edu.lsnu.equipment_management_system.mapper.insert;

import edu.lsnu.equipment_management_system.pojo.po.entity.EquipmentTransferTablePo;
import org.apache.ibatis.annotations.Insert;

/**
 * @author mzy
 * @Description 插入设备的调入调出中
 * @date 2018/11/20
 */
public interface EquipmentTransferTableMapper {
    @Insert("insert into JBXX_DRDC" +
            "(SBBH, DCDR, ZGH, CRRQ, CRYY, DRDW, DCDW, BZ)\n" +
            "values (#{equipmentNo}, " +
            "#{transerOr}, " +
            "#{userNo}, " +
            "#{transerDate}, " +
            "#{transerReason}, " +
            "#{transerInUnit}, " +
            "#{transerOutUnit}, " +
            "#{remark})")
    int insertEquipmentTransferTable(EquipmentTransferTablePo equipmentTransferTablePo);

}
